Optimal. Leaf size=17 \[ \frac{\tanh ^{-1}(a x)^{p+1}}{a (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0309873, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053, Rules used = {5948} \[ \frac{\tanh ^{-1}(a x)^{p+1}}{a (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5948
Rubi steps
\begin{align*} \int \frac{\tanh ^{-1}(a x)^p}{1-a^2 x^2} \, dx &=\frac{\tanh ^{-1}(a x)^{1+p}}{a (1+p)}\\ \end{align*}
Mathematica [A] time = 0.0112008, size = 17, normalized size = 1. \[ \frac{\tanh ^{-1}(a x)^{p+1}}{a (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.024, size = 18, normalized size = 1.1 \begin{align*}{\frac{ \left ({\it Artanh} \left ( ax \right ) \right ) ^{1+p}}{a \left ( 1+p \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{\operatorname{artanh}\left (a x\right )^{p}}{a^{2} x^{2} - 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.15072, size = 212, normalized size = 12.47 \begin{align*} \frac{\cosh \left (p \log \left (\frac{1}{2} \, \log \left (-\frac{a x + 1}{a x - 1}\right )\right )\right ) \log \left (-\frac{a x + 1}{a x - 1}\right ) + \log \left (-\frac{a x + 1}{a x - 1}\right ) \sinh \left (p \log \left (\frac{1}{2} \, \log \left (-\frac{a x + 1}{a x - 1}\right )\right )\right )}{2 \,{\left (a p + a\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.97073, size = 26, normalized size = 1.53 \begin{align*} \begin{cases} \frac{\begin{cases} \frac{\operatorname{atanh}^{p + 1}{\left (a x \right )}}{p + 1} & \text{for}\: p \neq -1 \\\log{\left (\operatorname{atanh}{\left (a x \right )} \right )} & \text{otherwise} \end{cases}}{a} & \text{for}\: a \neq 0 \\0^{p} x & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1937, size = 41, normalized size = 2.41 \begin{align*} \frac{\left (\frac{1}{2} \, \log \left (-\frac{a x + 1}{a x - 1}\right )\right )^{p + 1}}{a{\left (p + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]